using System;
using System.Collections.Generic;
using System.Text;
using System.Data.Common;
using System.Data;
using XBLib.Dal.AdoDal;

namespace KenLib.Dal

{
    public class 語学コードDao : BaseAdoDao
      {
        public DataTable Select_DDLTraineeLangAbilityInput()
        {

            DbCommand dbcommand = _daoHelper.CreateCommand("sp_frmJ_TraineeLangAbilityInput_Get語学コード_Mai", CommandType.StoredProcedure);
            return _daoHelper.Query(dbcommand);
        }
        public DataTable Select_DDLTraineeLangAbilityInput(int id)
        {
            DbParameter param = _daoHelper.CreateParameter("@param1", id , DbType.Int32);
            DbCommand dbcommand = _daoHelper.CreateCommand("sp_frmJ_TraineeLangAbilityInput_Get語学コード_Mai_ById", CommandType.StoredProcedure,param);
            return _daoHelper.Query(dbcommand);
        }

      }
}
